package club.haomoon.core.entity.server;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "CpuData 相关信息实体")
public class CpuData implements Serializable {

   @Schema(title = "核心数")
    private int cpuNum;

   @Schema(title = "CPU总的使用率")
    private double total;

   @Schema(title = "CPU系统使用率")
    private double sys;

   @Schema(title = "CPU用户使用率")
    private double used;

   @Schema(title = "CPU当前等待率")
    private double wait;

   @Schema(title = "CPU当前空闲率")
    private double free;
}
